package com.ynny.spring.student.systemDB.bean;

import org.springframework.stereotype.Component;

@Component("score")
public class Score {
    private String number;
    private Double Chinese;
    private Double Math;
    private Double English;

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Double getChinese() {
        return Chinese;
    }

    public void setChinese(Double chinese) {
        Chinese = chinese;
    }

    public Double getMath() {
        return Math;
    }

    public void setMath(Double math) {
        Math = math;
    }

    public Double getEnglish() {
        return English;
    }

    public void setEnglish(Double english) {
        English = english;
    }

    @Override
    public String toString() {
        return "Score{" +
                "number='" + number + '\'' +
                ", Chinese=" + Chinese +
                ", Math=" + Math +
                ", English=" + English +
                '}';
    }
}
